home *** CD-ROM | disk | FTP | other *** search
- #*******************************************************************
- # This modem chat script has been specially configured for the file
- # Trumpet winsock.dll, allowing it to work with US Net's advanced
- # Internet gateway services.
- #
- # NOTE: If you are having problems, remove the '#' in front of the
- # 'trace on' statement below. It will display the script as it
- # is executed.
- #
- # This file is generated by the USNET.EXE utility, version 2.0.
- #*****************************************************************
- # trace on
- #
- # Initialize the modem. The \13 is a carraige return character.
- #
- output ATZE1Q0V1S2=43\13
- input 10 OK
- sleep 1
- # The next line is for USR Courier modems *only*
- # output AT&FB0L2X4&B1&H1&R2E0V1S11=55\13
- # The next line is for USR Sportster modems *only*
- # output AT&F1\13
- # The next line is for Hayes Compatible modems *only*
- output AT&C1&D2&S0\13
- input 10 OK
- #
- # Dial the phone to connect to US Net and wait for the modem
- # to say CONNECT.
- #
- output ATDT847-1103\13
- input 100 CONNECT
- #
- # Wait for DCD (carrier detect) to go active on the modem before
- # continuing ... some modems will hang up if you don't wait.
- #
- wait 30 dcd
- sleep 4
- #
- # Wakeup the server with a couple of line feeds with 1 second pauses.
- #
- output \13
- sleep 1
- output \13
- sleep 1
- #
- # Look for the login prompt and send the userid.
- #
- input 30 ogin:
- sleep 1
- output USERNAME\13
- #
- # Look for the password prompt and send the password.
- #
- input 30 word:
- sleep 1
- output PASSWORD\13
- #
- # We are now logged in, look for usnet> prompt.
- #
- input 30 net>
- sleep 1
- #
- # Jump into slip mode and look for the response coming back from
- # the server "Packet mode enabled". We can then go online.
- #
- output slip\13
- input 30 abled
- sleep 1
- online
- #
- # Use BOOTP to obtain the IP address.
- #
- sleep 1
- bootp
- sleep 1
- display Script completed.
- # ** End of script **